<?php

if(array_key_exists('html_errors', $_GET)) {
    // override html errors if the user wants it (used for debugging)
    ini_set('html_errors', $_GET['html_errors']);
}

require 'classes/ControllerLoader.php';
require 'classes/BaseController.php';
require 'classes/BaseModel.php';

$loader = new ControllerLoader();
$loader->execute();
